package com.fr.data.util;

import java.io.Serializable;

public class SortOrder
  implements Cloneable, Serializable
{
  public static final int ORIGINAL = 0;
  public static final int ASC = 1;
  public static final int DESC = 2;
  private int order = 0;

  public SortOrder(int paramInt)
  {
    setOrder(paramInt);
  }

  public int getOrder()
  {
    return this.order;
  }

  public void setOrder(int paramInt)
  {
    this.order = paramInt;
  }

  public boolean equals(Object paramObject)
  {
    if (!(paramObject instanceof SortOrder))
      return false;
    SortOrder localSortOrder = (SortOrder)paramObject;
    return (localSortOrder.getOrder() == getOrder());
  }
}